package com.zhongying.jf.model.hkjf;

import java.io.Serializable;

/**
 * 豪康资金端-响应类
 */
public class ResFundsDto<T> implements Serializable {
    //返回码
    private String appcode="success";
    //返回信息
    private String appmsg="操作成功";
    //响应业务信息
    private T data;

    public ResFundsDto() {
    }

    public ResFundsDto(String appcode, String appmsg, T data) {
        this.appcode = appcode;
        this.appmsg = appmsg;
        this.data = data;
    }

    public String getAppcode() {
        return appcode;
    }

    public void setAppcode(String appcode) {
        this.appcode = appcode;
    }

    public String getAppmsg() {
        return appmsg;
    }

    public void setAppmsg(String appmsg) {
        this.appmsg = appmsg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ResFundsDto{" +
                "appcode='" + appcode + '\'' +
                ", appmsg='" + appmsg + '\'' +
                ", data=" + data +
                '}';
    }
}
